View Javadoc
1 package jrre.classloader.classfile.access_flags; 2 3 public class FieldAccessFlags extends AccessFlags { 4 5 protected boolean 6 isFinal, isVolatile, isTransient; 7 8 public FieldAccessFlags(boolean isPublic, 9 boolean isPrivate, 10 boolean isFinal, 11 boolean isProtected, 12 boolean isStatic, 13 boolean isVolatile, 14 boolean isTransient){ 15 16 super(isPublic, isPrivate, isProtected, isStatic); 17 18 this.isVolatile = isVolatile; 19 this.isTransient = isTransient; 20 this.isFinal = isFinal; 21 } 22 23 public String toString(){ 24 String toReturn = "FieldAccessFlags:" + 25 "\n\t\tisPublic: " + isPublic + 26 "\n\t\tisPrivate: " + isPrivate + 27 "\n\t\tisFinal: " + isFinal + 28 "\n\t\tisProtected: " + isProtected + 29 "\n\t\tisStatic: " + isStatic + 30 "\n\t\tisVolatile: " + isVolatile + 31 "\n\t\tisTransient: " + isTransient + "\n"; 32 return toReturn; 33 } 34 35 36 }

This page was automatically generated by Maven